.class public Les/z8;
.super Ljava/lang/Object;
.source "H264PSParser.java"


# static fields
.field private static final a:[[B

.field private static final b:[B

.field private static final c:[B

.field private static final d:[[B

.field private static final e:[B

.field private static final f:[B


# direct methods
.method static constructor <clinit>()V
    .locals 7

    const/4 v0, 0x2

    new-array v1, v0, [[B

    const/16 v2, 0x10

    new-array v3, v2, [B

    .line 1
    fill-array-data v3, :array_0

    const/4 v4, 0x0

    aput-object v3, v1, v4

    new-array v3, v2, [B

    fill-array-data v3, :array_1

    const/4 v5, 0x1

    aput-object v3, v1, v5

    sput-object v1, Les/z8;->a:[[B

    const/16 v1, 0x40

    new-array v3, v1, [B

    .line 2
    fill-array-data v3, :array_2

    sput-object v3, Les/z8;->b:[B

    new-array v6, v1, [B

    .line 3
    fill-array-data v6, :array_3

    sput-object v6, Les/z8;->c:[B

    new-array v0, v0, [[B

    aput-object v3, v0, v4

    aput-object v6, v0, v5

    .line 4
    sput-object v0, Les/z8;->d:[[B

    new-array v0, v1, [B

    .line 5
    fill-array-data v0, :array_4

    sput-object v0, Les/z8;->e:[B

    new-array v0, v2, [B

    .line 6
    fill-array-data v0, :array_5

    sput-object v0, Les/z8;->f:[B

    return-void

    :array_0
    .array-data 1
        0x6t
        0xdt
        0x14t
        0x1ct
        0xdt
        0x14t
        0x1ct
        0x20t
        0x14t
        0x1ct
        0x20t
        0x25t
        0x1ct
        0x20t
        0x25t
        0x2at
    .end array-data

    :array_1
    .array-data 1
        0xat
        0xet
        0x14t
        0x18t
        0xet
        0x14t
        0x18t
        0x1bt
        0x14t
        0x18t
        0x1bt
        0x1et
        0x18t
        0x1bt
        0x1et
        0x22t
    .end array-data

    :array_2
    .array-data 1
        0x6t
        0xat
        0xdt
        0x10t
        0x12t
        0x17t
        0x19t
        0x1bt
        0xat
        0xbt
        0x10t
        0x12t
        0x17t
        0x19t
        0x1bt
        0x1dt
        0xdt
        0x10t
        0x12t
        0x17t
        0x19t
        0x1bt
        0x1dt
        0x1ft
        0x10t
        0x12t
        0x17t
        0x19t
        0x1bt
        0x1dt
        0x1ft
        0x21t
        0x12t
        0x17t
        0x19t
        0x1bt
        0x1dt
        0x1ft
        0x21t
        0x24t
        0x17t
        0x19t
        0x1bt
        0x1dt
        0x1ft
        0x21t
        0x24t
        0x26t
        0x19t
        0x1bt
        0x1dt
        0x1ft
        0x21t
        0x24t
        0x26t
        0x28t
        0x1bt
        0x1dt
        0x1ft
        0x21t
        0x24t
        0x26t
        0x28t
        0x2at
    .end array-data

    :array_3
    .array-data 1
        0x9t
        0xdt
        0xft
        0x11t
        0x13t
        0x15t
        0x16t
        0x18t
        0xdt
        0xdt
        0x11t
        0x13t
        0x15t
        0x16t
        0x18t
        0x19t
        0xft
        0x11t
        0x13t
        0x15t
        0x16t
        0x18t
        0x19t
        0x1bt
        0x11t
        0x13t
        0x15t
        0x16t
        0x18t
        0x19t
        0x1bt
        0x1ct
        0x13t
        0x15t
        0x16t
        0x18t
        0x19t
        0x1bt
        0x1ct
        0x1et
        0x15t
        0x16t
        0x18t
        0x19t
        0x1bt
        0x1ct
        0x1et
        0x20t
        0x16t
        0x18t
        0x19t
        0x1bt
        0x1ct
        0x1et
        0x20t
        0x21t
        0x18t
        0x19t
        0x1bt
        0x1ct
        0x1et
        0x20t
        0x21t
        0x23t
    .end array-data

    :array_4
    .array-data 1
        0x0t
        0x1t
        0x8t
        0x10t
        0x9t
        0x2t
        0x3t
        0xat
        0x11t
        0x18t
        0x20t
        0x19t
        0x12t
        0xbt
        0x4t
        0x5t
        0xct
        0x13t
        0x1at
        0x21t
        0x28t
        0x30t
        0x29t
        0x22t
        0x1bt
        0x14t
        0xdt
        0x6t
        0x7t
        0xet
        0x15t
        0x1ct
        0x23t
        0x2at
        0x31t
        0x38t
        0x39t
        0x32t
        0x2bt
        0x24t
        0x1dt
        0x16t
        0xft
        0x17t
        0x1et
        0x25t
        0x2ct
        0x33t
        0x3at
        0x3bt
        0x34t
        0x2dt
        0x26t
        0x1ft
        0x27t
        0x2et
        0x35t
        0x3ct
        0x3dt
        0x36t
        0x2ft
        0x37t
        0x3et
        0x3ft
    .end array-data

    :array_5
    .array-data 1
        0x0t
        0x1t
        0x4t
        0x8t
        0x5t
        0x2t
        0x3t
        0x6t
        0x9t
        0xct
        0xdt
        0xat
        0x7t
        0xbt
        0xet
        0xft
    .end array-data
.end method

.method private static a(Les/d9;Les/b9$b;)I
    .locals 5

    .line 27
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    const/16 v1, 0x20

    if-le v0, v1, :cond_0

    const/4 p0, -0x1

    return p0

    :cond_0
    const/4 v1, 0x4

    .line 28
    invoke-virtual {p0, v1}, Les/d9;->b(I)I

    move-result v2

    iput v2, p1, Les/b9$b;->p:I

    .line 29
    invoke-virtual {p0, v1}, Les/d9;->b(I)I

    move-result v1

    iput v1, p1, Les/b9$b;->q:I

    const/4 v1, 0x0

    if-lez v0, :cond_1

    .line 30
    new-array v2, v0, [I

    iput-object v2, p1, Les/b9$b;->r:[I

    .line 31
    new-array v2, v0, [I

    iput-object v2, p1, Les/b9$b;->s:[I

    .line 32
    new-array v2, v0, [Z

    iput-object v2, p1, Les/b9$b;->t:[Z

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v0, :cond_1

    .line 33
    iget-object v3, p1, Les/b9$b;->r:[I

    invoke-virtual {p0}, Les/d9;->e()I

    move-result v4

    aput v4, v3, v2

    .line 34
    iget-object v3, p1, Les/b9$b;->s:[I

    invoke-virtual {p0}, Les/d9;->e()I

    move-result v4

    aput v4, v3, v2

    .line 35
    iget-object v3, p1, Les/b9$b;->t:[Z

    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v4

    aput-boolean v4, v3, v2

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_1
    const/4 v2, 0x5

    .line 36
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    iput v3, p1, Les/b9$b;->x:I

    .line 37
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    iput v3, p1, Les/b9$b;->y:I

    .line 38
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    iput v3, p1, Les/b9$b;->z:I

    .line 39
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result p0

    iput p0, p1, Les/b9$b;->v:I

    .line 40
    iput v0, p1, Les/b9$b;->w:I

    return v1
.end method

.method private static a(Les/d9;[BI[B[B)I
    .locals 5

    .line 21
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    .line 22
    invoke-static {p4, v1, p1, v1, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    goto :goto_4

    :cond_0
    const/16 p4, 0x10

    if-ne p2, p4, :cond_1

    .line 23
    sget-object p4, Les/z8;->f:[B

    goto :goto_0

    :cond_1
    sget-object p4, Les/z8;->e:[B

    :goto_0
    const/16 v0, 0x8

    const/16 v2, 0x8

    const/4 v3, 0x0

    :goto_1
    if-ge v3, p2, :cond_7

    if-eqz v0, :cond_4

    .line 24
    invoke-virtual {p0}, Les/d9;->d()I

    move-result v0

    const/16 v4, -0x80

    if-lt v0, v4, :cond_3

    const/16 v4, 0x7f

    if-le v0, v4, :cond_2

    goto :goto_2

    :cond_2
    add-int/2addr v0, v2

    and-int/lit16 v0, v0, 0xff

    goto :goto_3

    :cond_3
    :goto_2
    const/4 p0, -0x1

    return p0

    :cond_4
    :goto_3
    if-nez v3, :cond_5

    if-nez v0, :cond_5

    .line 25
    invoke-static {p3, v1, p1, v1, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 26
    :cond_5
    aget-byte v4, p4, v3

    if-eqz v0, :cond_6

    move v2, v0

    :cond_6
    int-to-byte v2, v2

    aput-byte v2, p1, v4

    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_7
    :goto_4
    return v1
.end method

.method private static a([B)I
    .locals 6

    const/4 v0, 0x0

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 41
    :goto_0
    array-length v3, p0

    if-ge v1, v3, :cond_1

    add-int/lit8 v3, v2, 0x1

    array-length v4, p0

    if-ge v3, v4, :cond_1

    add-int/lit8 v4, v1, 0x2

    .line 42
    array-length v5, p0

    if-ge v4, v5, :cond_0

    aget-byte v5, p0, v1

    if-nez v5, :cond_0

    add-int/lit8 v5, v1, 0x1

    aget-byte v5, p0, v5

    if-nez v5, :cond_0

    aget-byte v4, p0, v4

    const/4 v5, 0x3

    if-ne v4, v5, :cond_0

    .line 43
    aput-byte v0, p0, v3

    aput-byte v0, p0, v2

    add-int/lit8 v2, v2, 0x2

    add-int/lit8 v1, v1, 0x3

    goto :goto_0

    .line 44
    :cond_0
    aget-byte v4, p0, v1

    aput-byte v4, p0, v2

    add-int/lit8 v1, v1, 0x1

    move v2, v3

    goto :goto_0

    :cond_1
    return v2
.end method

.method private static a(Les/d9;Les/b9;Les/a9;Z)Z
    .locals 12

    const/4 v0, 0x1

    const/4 v1, 0x0

    if-nez p3, :cond_0

    .line 4
    iget-boolean v2, p1, Les/b9;->B:Z

    if-eqz v2, :cond_0

    const/4 v2, 0x1

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    :goto_0
    const/4 v3, 0x4

    new-array v4, v3, [[B

    if-eqz v2, :cond_1

    .line 5
    iget-object v5, p1, Les/b9;->C:[[B

    aget-object v5, v5, v1

    goto :goto_1

    :cond_1
    sget-object v5, Les/z8;->a:[[B

    aget-object v5, v5, v1

    :goto_1
    aput-object v5, v4, v1

    const/4 v5, 0x3

    if-eqz v2, :cond_2

    iget-object v6, p1, Les/b9;->C:[[B

    aget-object v6, v6, v5

    goto :goto_2

    :cond_2
    sget-object v6, Les/z8;->a:[[B

    aget-object v6, v6, v0

    :goto_2
    aput-object v6, v4, v0

    if-eqz v2, :cond_3

    iget-object v6, p1, Les/b9;->D:[[B

    aget-object v6, v6, v1

    goto :goto_3

    :cond_3
    sget-object v6, Les/z8;->d:[[B

    aget-object v6, v6, v1

    :goto_3
    const/4 v7, 0x2

    aput-object v6, v4, v7

    if-eqz v2, :cond_4

    iget-object v2, p1, Les/b9;->D:[[B

    aget-object v2, v2, v5

    goto :goto_4

    :cond_4
    sget-object v2, Les/z8;->d:[[B

    aget-object v2, v2, v0

    :goto_4
    aput-object v2, v4, v5

    .line 6
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v2

    if-eqz v2, :cond_7

    .line 7
    iget-object v2, p1, Les/b9;->C:[[B

    aget-object v2, v2, v1

    sget-object v6, Les/z8;->a:[[B

    aget-object v6, v6, v1

    aget-object v8, v4, v1

    const/16 v9, 0x10

    invoke-static {p0, v2, v9, v6, v8}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v2

    or-int/2addr v2, v1

    .line 8
    iget-object v6, p1, Les/b9;->C:[[B

    aget-object v8, v6, v0

    sget-object v10, Les/z8;->a:[[B

    aget-object v10, v10, v1

    aget-object v6, v6, v1

    invoke-static {p0, v8, v9, v10, v6}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v6

    or-int/2addr v2, v6

    .line 9
    iget-object v6, p1, Les/b9;->C:[[B

    aget-object v8, v6, v7

    sget-object v10, Les/z8;->a:[[B

    aget-object v10, v10, v1

    aget-object v6, v6, v0

    invoke-static {p0, v8, v9, v10, v6}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v6

    or-int/2addr v2, v6

    .line 10
    iget-object v6, p1, Les/b9;->C:[[B

    aget-object v6, v6, v5

    sget-object v8, Les/z8;->a:[[B

    aget-object v8, v8, v0

    aget-object v10, v4, v0

    invoke-static {p0, v6, v9, v8, v10}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v6

    or-int/2addr v2, v6

    .line 11
    iget-object v6, p1, Les/b9;->C:[[B

    aget-object v8, v6, v3

    sget-object v10, Les/z8;->a:[[B

    aget-object v10, v10, v0

    aget-object v6, v6, v5

    invoke-static {p0, v8, v9, v10, v6}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v6

    or-int/2addr v2, v6

    .line 12
    iget-object v6, p1, Les/b9;->C:[[B

    const/4 v8, 0x5

    aget-object v10, v6, v8

    sget-object v11, Les/z8;->a:[[B

    aget-object v11, v11, v0

    aget-object v6, v6, v3

    invoke-static {p0, v10, v9, v11, v6}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v6

    or-int/2addr v2, v6

    if-nez p3, :cond_5

    .line 13
    iget-boolean p2, p2, Les/a9;->a:Z

    if-eqz p2, :cond_6

    .line 14
    :cond_5
    iget-object p2, p1, Les/b9;->D:[[B

    aget-object p2, p2, v1

    sget-object v6, Les/z8;->d:[[B

    aget-object v6, v6, v1

    aget-object v9, v4, v7

    const/16 v10, 0x40

    invoke-static {p0, p2, v10, v6, v9}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result p2

    or-int/2addr p2, v2

    .line 15
    iget-object v2, p1, Les/b9;->D:[[B

    aget-object v2, v2, v5

    sget-object v6, Les/z8;->d:[[B

    aget-object v6, v6, v0

    aget-object v9, v4, v5

    invoke-static {p0, v2, v10, v6, v9}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v2

    or-int/2addr v2, p2

    .line 16
    iget p2, p1, Les/b9;->d:I

    if-ne p2, v5, :cond_6

    .line 17
    iget-object p2, p1, Les/b9;->D:[[B

    aget-object p2, p2, v0

    sget-object v6, Les/z8;->d:[[B

    aget-object v6, v6, v1

    aget-object v9, v4, v1

    invoke-static {p0, p2, v10, v6, v9}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result p2

    or-int/2addr p2, v2

    .line 18
    iget-object v2, p1, Les/b9;->D:[[B

    aget-object v2, v2, v3

    sget-object v6, Les/z8;->d:[[B

    aget-object v6, v6, v0

    aget-object v5, v4, v5

    invoke-static {p0, v2, v10, v6, v5}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v2

    or-int/2addr p2, v2

    .line 19
    iget-object v2, p1, Les/b9;->D:[[B

    aget-object v2, v2, v7

    sget-object v5, Les/z8;->d:[[B

    aget-object v5, v5, v1

    aget-object v6, v4, v0

    invoke-static {p0, v2, v10, v5, v6}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result v2

    or-int/2addr p2, v2

    .line 20
    iget-object p1, p1, Les/b9;->D:[[B

    aget-object p1, p1, v8

    sget-object v2, Les/z8;->d:[[B

    aget-object v2, v2, v0

    aget-object v3, v4, v3

    invoke-static {p0, p1, v10, v2, v3}, Les/z8;->a(Les/d9;[BI[B[B)I

    move-result p0

    or-int v2, p2, p0

    :cond_6
    if-nez v2, :cond_8

    if-eqz p3, :cond_8

    const/4 v2, 0x1

    goto :goto_5

    :cond_7
    const/4 v2, 0x0

    :cond_8
    :goto_5
    if-ne v2, v0, :cond_9

    goto :goto_6

    :cond_9
    const/4 v0, 0x0

    :goto_6
    return v0
.end method

.method private static a(Ljava/nio/ByteBuffer;)Z
    .locals 3

    const/4 v0, 0x0

    .line 1
    invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->get(I)B

    move-result v1

    and-int/lit16 v1, v1, 0xff

    if-nez v1, :cond_0

    const/4 v1, 0x1

    invoke-virtual {p0, v1}, Ljava/nio/ByteBuffer;->get(I)B

    move-result v2

    and-int/lit16 v2, v2, 0xff

    if-nez v2, :cond_0

    const/4 v2, 0x2

    .line 2
    invoke-virtual {p0, v2}, Ljava/nio/ByteBuffer;->get(I)B

    move-result v2

    and-int/lit16 v2, v2, 0xff

    if-nez v2, :cond_0

    const/4 v2, 0x3

    invoke-virtual {p0, v2}, Ljava/nio/ByteBuffer;->get(I)B

    move-result v2

    and-int/lit16 v2, v2, 0xff

    if-ne v2, v1, :cond_0

    const/4 v2, 0x4

    .line 3
    invoke-virtual {p0, v2}, Ljava/nio/ByteBuffer;->get(I)B

    move-result p0

    and-int/lit8 p0, p0, 0x1f

    const/4 v2, 0x7

    if-ne p0, v2, :cond_0

    return v1

    :cond_0
    return v0
.end method

.method private static b(Les/d9;Les/b9$b;)I
    .locals 5

    .line 1
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    const/16 v1, 0x10

    const/16 v2, 0x8

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result v0

    const/16 v3, 0xff

    if-ne v0, v3, :cond_0

    .line 3
    new-instance v0, Les/b9$a;

    invoke-direct {v0}, Les/b9$a;-><init>()V

    iput-object v0, p1, Les/b9$b;->a:Les/b9$a;

    .line 4
    invoke-virtual {p0, v1}, Les/d9;->b(I)I

    move-result v3

    iput v3, v0, Les/b9$a;->a:I

    .line 5
    iget-object v0, p1, Les/b9$b;->a:Les/b9$a;

    invoke-virtual {p0, v1}, Les/d9;->b(I)I

    move-result v3

    iput v3, v0, Les/b9$a;->b:I

    .line 6
    :cond_0
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    const/4 v3, 0x1

    if-eqz v0, :cond_1

    .line 7
    invoke-virtual {p0, v3}, Les/d9;->c(I)V

    .line 8
    :cond_1
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->b:Z

    if-eqz v0, :cond_2

    const/4 v0, 0x3

    .line 9
    invoke-virtual {p0, v0}, Les/d9;->c(I)V

    .line 10
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v0

    iput v0, p1, Les/b9$b;->c:I

    .line 11
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->g:Z

    if-eqz v0, :cond_2

    .line 12
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result v0

    iput v0, p1, Les/b9$b;->d:I

    .line 13
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result v0

    iput v0, p1, Les/b9$b;->e:I

    .line 14
    invoke-virtual {p0, v2}, Les/d9;->b(I)I

    move-result v0

    iput v0, p1, Les/b9$b;->f:I

    .line 15
    :cond_2
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->h:Z

    if-eqz v0, :cond_3

    .line 16
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v0

    add-int/2addr v0, v3

    iput v0, p1, Les/b9$b;->i:I

    .line 17
    invoke-virtual {p0}, Les/d9;->e()I

    .line 18
    :cond_3
    invoke-virtual {p0, v3}, Les/d9;->a(I)I

    move-result v0

    const/4 v2, 0x0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Les/d9;->a()I

    move-result v0

    const/16 v4, 0x42

    if-ge v0, v4, :cond_4

    return v2

    .line 19
    :cond_4
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->j:Z

    if-eqz v0, :cond_7

    const/16 v0, 0x20

    .line 20
    invoke-virtual {p0, v0}, Les/d9;->b(I)I

    move-result v4

    .line 21
    invoke-virtual {p0, v0}, Les/d9;->b(I)I

    move-result v0

    if-eqz v4, :cond_6

    if-nez v0, :cond_5

    goto :goto_0

    .line 22
    :cond_5
    iput v4, p1, Les/b9$b;->k:I

    .line 23
    iput v0, p1, Les/b9$b;->l:I

    goto :goto_1

    .line 24
    :cond_6
    :goto_0
    iput-boolean v2, p1, Les/b9$b;->j:Z

    .line 25
    :goto_1
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->m:Z

    .line 26
    :cond_7
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->n:Z

    const/4 v4, -0x1

    if-eqz v0, :cond_8

    .line 27
    invoke-static {p0, p1}, Les/z8;->a(Les/d9;Les/b9$b;)I

    move-result v0

    if-gez v0, :cond_8

    return v4

    .line 28
    :cond_8
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->o:Z

    if-eqz v0, :cond_9

    .line 29
    invoke-static {p0, p1}, Les/z8;->a(Les/d9;Les/b9$b;)I

    move-result v0

    if-gez v0, :cond_9

    return v4

    .line 30
    :cond_9
    iget-boolean v0, p1, Les/b9$b;->n:Z

    if-nez v0, :cond_a

    iget-boolean v0, p1, Les/b9$b;->o:Z

    if-eqz v0, :cond_b

    .line 31
    :cond_a
    invoke-virtual {p0, v3}, Les/d9;->c(I)V

    .line 32
    :cond_b
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v0

    iput v0, p1, Les/b9$b;->u:I

    .line 33
    invoke-virtual {p0}, Les/d9;->a()I

    move-result v0

    if-gtz v0, :cond_c

    return v2

    .line 34
    :cond_c
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v0

    iput-boolean v0, p1, Les/b9$b;->A:Z

    if-eqz v0, :cond_e

    .line 35
    invoke-virtual {p0, v3}, Les/d9;->c(I)V

    .line 36
    invoke-virtual {p0}, Les/d9;->e()I

    .line 37
    invoke-virtual {p0}, Les/d9;->e()I

    .line 38
    invoke-virtual {p0}, Les/d9;->e()I

    .line 39
    invoke-virtual {p0}, Les/d9;->e()I

    .line 40
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v0

    iput v0, p1, Les/b9$b;->B:I

    .line 41
    invoke-virtual {p0}, Les/d9;->e()I

    .line 42
    invoke-virtual {p0}, Les/d9;->a()I

    move-result p0

    if-gez p0, :cond_d

    .line 43
    iput v2, p1, Les/b9$b;->B:I

    .line 44
    iput-boolean v2, p1, Les/b9$b;->A:Z

    .line 45
    :cond_d
    iget p0, p1, Les/b9$b;->B:I

    if-le p0, v1, :cond_e

    .line 46
    iput v1, p1, Les/b9$b;->B:I

    :cond_e
    return v2
.end method

.method private static b(Ljava/nio/ByteBuffer;)Les/d9;
    .locals 2

    .line 47
    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->mark()Ljava/nio/Buffer;

    const/4 v0, 0x5

    .line 48
    invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;

    .line 49
    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v0

    new-array v0, v0, [B

    .line 50
    invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer;

    .line 51
    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->reset()Ljava/nio/Buffer;

    .line 52
    invoke-static {v0}, Les/z8;->a([B)I

    move-result p0

    .line 53
    new-instance v1, Les/d9;

    invoke-direct {v1, v0, p0}, Les/d9;-><init>([BI)V

    return-object v1
.end method

.method public static c(Ljava/nio/ByteBuffer;)Les/b9;
    .locals 10
    .param p0    # Ljava/nio/ByteBuffer;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-static {p0}, Les/z8;->a(Ljava/nio/ByteBuffer;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return-object v1

    .line 2
    :cond_0
    invoke-static {p0}, Les/z8;->b(Ljava/nio/ByteBuffer;)Les/d9;

    move-result-object p0

    .line 3
    new-instance v0, Les/b9;

    invoke-direct {v0}, Les/b9;-><init>()V

    .line 4
    new-instance v2, Les/b9;

    invoke-direct {v2}, Les/b9;-><init>()V

    const/16 v3, 0x8

    .line 5
    invoke-virtual {p0, v3}, Les/d9;->b(I)I

    move-result v4

    iput v4, v2, Les/b9;->b:I

    .line 6
    iput v4, v0, Les/b9;->b:I

    .line 7
    iget v4, v2, Les/b9;->H:I

    invoke-virtual {p0}, Les/d9;->c()I

    move-result v5

    const/4 v6, 0x0

    shl-int/2addr v5, v6

    or-int/2addr v4, v5

    iput v4, v2, Les/b9;->H:I

    .line 8
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v5

    const/4 v7, 0x1

    shl-int/2addr v5, v7

    or-int/2addr v4, v5

    iput v4, v2, Les/b9;->H:I

    .line 9
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v5

    const/4 v8, 0x2

    shl-int/2addr v5, v8

    or-int/2addr v4, v5

    iput v4, v2, Les/b9;->H:I

    .line 10
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v5

    const/4 v9, 0x3

    shl-int/2addr v5, v9

    or-int/2addr v4, v5

    iput v4, v2, Les/b9;->H:I

    .line 11
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v5

    shl-int/lit8 v5, v5, 0x4

    or-int/2addr v4, v5

    iput v4, v2, Les/b9;->H:I

    .line 12
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v5

    shl-int/lit8 v5, v5, 0x5

    or-int/2addr v4, v5

    iput v4, v2, Les/b9;->H:I

    .line 13
    invoke-virtual {p0, v8}, Les/d9;->c(I)V

    .line 14
    invoke-virtual {p0, v3}, Les/d9;->b(I)I

    move-result v4

    iput v4, v2, Les/b9;->c:I

    .line 15
    iput v4, v0, Les/b9;->c:I

    .line 16
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v4

    iput v4, v2, Les/b9;->a:I

    .line 17
    iget v4, v2, Les/b9;->b:I

    const/16 v5, 0x64

    if-eq v4, v5, :cond_2

    const/16 v5, 0x6e

    if-eq v4, v5, :cond_2

    const/16 v5, 0x7a

    if-eq v4, v5, :cond_2

    const/16 v5, 0xf4

    if-eq v4, v5, :cond_2

    const/16 v5, 0x2c

    if-eq v4, v5, :cond_2

    const/16 v5, 0x53

    if-eq v4, v5, :cond_2

    const/16 v5, 0x56

    if-eq v4, v5, :cond_2

    const/16 v5, 0x76

    if-eq v4, v5, :cond_2

    const/16 v5, 0x80

    if-eq v4, v5, :cond_2

    const/16 v5, 0x8a

    if-eq v4, v5, :cond_2

    const/16 v5, 0x90

    if-ne v4, v5, :cond_1

    goto :goto_0

    .line 18
    :cond_1
    iput v7, v2, Les/b9;->d:I

    .line 19
    iput v3, v2, Les/b9;->E:I

    .line 20
    iput v3, v2, Les/b9;->F:I

    .line 21
    iput-boolean v6, v2, Les/b9;->B:Z

    goto :goto_1

    .line 22
    :cond_2
    :goto_0
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v4

    iput v4, v2, Les/b9;->d:I

    if-ne v4, v9, :cond_3

    .line 23
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v4

    iput v4, v2, Les/b9;->G:I

    .line 24
    :cond_3
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v4

    add-int/2addr v4, v3

    iput v4, v2, Les/b9;->E:I

    .line 25
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v4

    add-int/2addr v4, v3

    iput v4, v2, Les/b9;->F:I

    .line 26
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v4

    iput v4, v2, Les/b9;->e:I

    .line 27
    invoke-static {p0, v2, v1, v7}, Les/z8;->a(Les/d9;Les/b9;Les/a9;Z)Z

    move-result v1

    iput-boolean v1, v2, Les/b9;->B:Z

    .line 28
    :goto_1
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    add-int/lit8 v1, v1, 0x4

    iput v1, v2, Les/b9;->f:I

    .line 29
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    iput v1, v2, Les/b9;->g:I

    if-nez v1, :cond_4

    .line 30
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    add-int/lit8 v1, v1, 0x4

    iput v1, v2, Les/b9;->h:I

    goto :goto_3

    :cond_4
    if-ne v1, v7, :cond_5

    .line 31
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v1

    iput v1, v2, Les/b9;->i:I

    .line 32
    invoke-virtual {p0}, Les/d9;->d()I

    move-result v1

    iput v1, v2, Les/b9;->j:I

    .line 33
    invoke-virtual {p0}, Les/d9;->d()I

    move-result v1

    iput v1, v2, Les/b9;->k:I

    .line 34
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    iput v1, v2, Les/b9;->l:I

    .line 35
    new-array v1, v1, [S

    iput-object v1, v2, Les/b9;->A:[S

    const/4 v1, 0x0

    .line 36
    :goto_2
    iget v4, v2, Les/b9;->l:I

    if-ge v1, v4, :cond_6

    .line 37
    iget-object v4, v2, Les/b9;->A:[S

    invoke-virtual {p0}, Les/d9;->d()I

    move-result v5

    int-to-short v5, v5

    aput-short v5, v4, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_5
    if-eq v1, v8, :cond_6

    return-object v0

    .line 38
    :cond_6
    :goto_3
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    iput v1, v2, Les/b9;->m:I

    .line 39
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v1

    iput v1, v2, Les/b9;->n:I

    .line 40
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    add-int/2addr v1, v7

    iput v1, v2, Les/b9;->o:I

    .line 41
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    add-int/2addr v1, v7

    iput v1, v2, Les/b9;->p:I

    .line 42
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v1

    iput v1, v2, Les/b9;->q:I

    .line 43
    iget v4, v2, Les/b9;->p:I

    rsub-int/lit8 v5, v1, 0x2

    mul-int v4, v4, v5

    iput v4, v2, Les/b9;->p:I

    if-nez v1, :cond_7

    .line 44
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v1

    iput v1, v2, Les/b9;->r:I

    .line 45
    :cond_7
    invoke-virtual {p0}, Les/d9;->c()I

    move-result v1

    iput v1, v2, Les/b9;->s:I

    .line 46
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v1

    iput-boolean v1, v2, Les/b9;->t:Z

    if-eqz v1, :cond_e

    .line 47
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    iput v1, v2, Les/b9;->u:I

    .line 48
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    iput v1, v2, Les/b9;->v:I

    .line 49
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    iput v1, v2, Les/b9;->w:I

    .line 50
    invoke-virtual {p0}, Les/d9;->e()I

    move-result v1

    iput v1, v2, Les/b9;->x:I

    .line 51
    iget v1, v2, Les/b9;->d:I

    if-ne v1, v7, :cond_8

    const/4 v1, 0x1

    goto :goto_4

    :cond_8
    const/4 v1, 0x0

    .line 52
    :goto_4
    iget v4, v2, Les/b9;->d:I

    if-eq v4, v7, :cond_a

    if-ne v4, v8, :cond_9

    goto :goto_5

    :cond_9
    const/4 v4, 0x0

    goto :goto_6

    :cond_a
    :goto_5
    const/4 v4, 0x1

    :goto_6
    shl-int v4, v7, v4

    .line 53
    iget v5, v2, Les/b9;->q:I

    sub-int/2addr v8, v5

    shl-int v1, v8, v1

    .line 54
    iget v5, v2, Les/b9;->u:I

    iget v8, v2, Les/b9;->E:I

    if-le v8, v3, :cond_b

    const/4 v8, 0x1

    goto :goto_7

    :cond_b
    const/4 v8, 0x0

    :goto_7
    const/16 v9, 0x1f

    shr-int v8, v9, v8

    and-int/2addr v5, v8

    if-eqz v5, :cond_d

    .line 55
    iget v5, v2, Les/b9;->u:I

    iget v8, v2, Les/b9;->E:I

    if-le v8, v3, :cond_c

    const/4 v6, 0x1

    :cond_c
    shr-int v3, v9, v6

    xor-int/lit8 v3, v3, -0x1

    and-int/2addr v3, v5

    iput v3, v2, Les/b9;->u:I

    .line 56
    :cond_d
    iget v3, v2, Les/b9;->u:I

    mul-int v3, v3, v4

    iput v3, v2, Les/b9;->u:I

    .line 57
    iget v3, v2, Les/b9;->v:I

    mul-int v3, v3, v4

    iput v3, v2, Les/b9;->v:I

    .line 58
    iget v3, v2, Les/b9;->w:I

    mul-int v3, v3, v1

    iput v3, v2, Les/b9;->w:I

    .line 59
    iget v3, v2, Les/b9;->x:I

    mul-int v3, v3, v1

    iput v3, v2, Les/b9;->x:I

    .line 60
    :cond_e
    invoke-virtual {p0}, Les/d9;->b()Z

    move-result v1

    iput-boolean v1, v2, Les/b9;->y:Z

    if-eqz v1, :cond_10

    .line 61
    new-instance v1, Les/b9$b;

    invoke-direct {v1}, Les/b9$b;-><init>()V

    .line 62
    invoke-static {p0, v1}, Les/z8;->b(Les/d9;Les/b9$b;)I

    move-result p0

    if-gez p0, :cond_f

    return-object v0

    .line 63
    :cond_f
    iput-object v1, v2, Les/b9;->z:Les/b9$b;

    .line 64
    :cond_10
    iget-object p0, v2, Les/b9;->z:Les/b9$b;

    if-eqz p0, :cond_11

    iget-object p0, p0, Les/b9$b;->a:Les/b9$a;

    if-eqz p0, :cond_11

    iget v0, p0, Les/b9$a;->b:I

    if-nez v0, :cond_11

    .line 65
    iput v7, p0, Les/b9$a;->b:I

    :cond_11
    return-object v2
.end method
